package com.lion.ball.app.models.params.search;


/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 商品详情 搜索参数
 * Explain:
 * 
 */
public class TradeGoodsDetailsSearchParam {
    // ID
    private long id;
    // 商品编号
    private long code;
    // 卖家留言
    private String sellerMsg;

    // 无参构造方法
    public TradeGoodsDetailsSearchParam() {
    }

    // 全参数构造方法
    public TradeGoodsDetailsSearchParam(long id, long code, String sellerMsg) {
        this.id = id;
        this.code = code;
        this.sellerMsg = sellerMsg;
    }

    // 全参数create生成器
    public static TradeGoodsDetailsSearchParam create(long id, long code, String sellerMsg) {
        return new TradeGoodsDetailsSearchParam(id, code, sellerMsg);
    }

    // 全参数of生成器
    public static TradeGoodsDetailsSearchParam of(long id, long code, String sellerMsg) {
        return new TradeGoodsDetailsSearchParam(id, code, sellerMsg);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public TradeGoodsDetailsSearchParam setId(long id) {
        this.id = id;
        return this;
    }

    public long getCode() {
        return code;
    }

    public TradeGoodsDetailsSearchParam setCode(long code) {
        this.code = code;
        return this;
    }

    public String getSellerMsg() {
        return sellerMsg;
    }

    public TradeGoodsDetailsSearchParam setSellerMsg(String sellerMsg) {
        this.sellerMsg = sellerMsg;
        return this;
    }

    // endregion Getter和Setter方法
}
